package com.cskaoyan.service.vx.wangdi;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.cskaoyan.mapper.CouponUserMapper;
import java.util.List;
import com.cskaoyan.bean.CouponUser;
import com.cskaoyan.bean.CouponUserExample;
import com.cskaoyan.service.vx.wangdi.CouponUserService;
@Service
public class CouponUserServiceImpl implements CouponUserService{

    @Resource
    private CouponUserMapper couponUserMapper;

    @Override
    public long countByExample(CouponUserExample example) {
        return couponUserMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(CouponUserExample example) {
        return couponUserMapper.deleteByExample(example);
    }

    @Override
    public int insert(CouponUser record) {
        return couponUserMapper.insert(record);
    }

    @Override
    public int insertSelective(CouponUser record) {
        return couponUserMapper.insertSelective(record);
    }

    @Override
    public List<CouponUser> selectByExample(CouponUserExample example) {
        return couponUserMapper.selectByExample(example);
    }

    @Override
    public CouponUser selectByPrimaryKey(Integer id) {
        return couponUserMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(CouponUser record,CouponUserExample example) {
        return couponUserMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(CouponUser record,CouponUserExample example) {
        return couponUserMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(CouponUser record) {
        return couponUserMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(CouponUser record) {
        return couponUserMapper.updateByPrimaryKey(record);
    }

}
